﻿namespace LearnDSGraphs;

public class Node
{
    public int element;
    public Node next;

    public Node(int e, Node n)
    {
        element = e;
        next = n;
    }
}